package com.tencent.wxcloudrun.mapper;

import com.tencent.wxcloudrun.dto.Order;
import com.tencent.wxcloudrun.dto.OrderCreateRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Entity com.tencent.wxcloudrun.dto.Order
 */
@Mapper
public interface OrderMapper {

    List<Order> orderList(String openid);

    int addOder(String orderid, String openid,  String shopidzt,Integer amout,String newDate,Integer numbers);

    int addExtJsonStr(String orderid, String zqmobile, String zqdiningTime);

    int addOderkd(String orderid, OrderCreateRequest json);

    int addOder(String orderid, Integer goodsId, Integer number, String propertyChildIds, String key);

    int cyTableAddOrder(String orderId, String openid, String tableId, String key);

    int addOrderGoods(String orderId, Integer goodsId, Integer number);

    int addOrderGoods(String orderId, Integer goodsId, Integer number, Integer amout, Integer score);


    int updateOder(String orderid, String pic);

    Order orderDetail(String orderId);


}




